from pymongo import MongoClient

# connection object
# client = MongoClient('127.0.0.1', 24678)
client = MongoClient('qianjia.space', 24678)

# database name
db = client['diary']

# all developers
users = db['users']

# all user diarys
diarys = db['diarys']

# login tokens
tokens = db['tokens']
